package com.ad.pet.app.serach;

import com.ad.pet.common.structure.mvp.AbsView;
import com.ad.pet.common.structure.mvp.BasePresenter;
import com.ad.pet.models.remote.KeyWord;
import com.ad.pet.models.remote.mall.SearchEndGood;

import java.util.List;

/**
 * Created by SEELE on 2018/3/28.
 */

public interface SerachHistoryContract {

    interface Presenter extends BasePresenter<View> {
        void getKeyword();

        void getSearchEnd(String keyword, String page, String limit, String sort, String sort_order, String start_price, String end_price, String category_id, String is_home_cate
        );

        void getTypeWord();

        void getCateGoryWord();

    }

    interface View extends AbsView {
        void getKeywordSuccess(List<KeyWord> commList);

        void getSearchEndSuccess(SearchEndGood searchEndGood);

        void getTypeWordSucceses(List<KeyWord> commList);

        void getCateGoryWord(List<KeyWord>  list);
    }
}
